package com.gxa.autoparts.portal.mapper;

import com.gxa.autoparts.core.pojo.Address;
import com.gxa.autoparts.core.pojo.GoodsList;
import com.gxa.autoparts.core.pojo.Order;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface MyOrderMapper extends Mapper<Order>  {
    List<Order> findAllMyOrder(Long id);
    Address findOrderAddress(Long userId,Long orderId);
    List<GoodsList> findOrderGoodsList(Long userId,Long orderId);
    Double getMoney(Long orderId);
    void overOrder(Long orderId,Long logisticsNumber);
    Map<String,Object> findOrderIdBySerialnNumberAndPrice(Long SerialnNumber);
}
